package by.grsu.bso.service;

import by.grsu.bso.persistence.impl.CategoryDAO;
import by.grsu.bso.persistence.impl.OrderDAO;
import by.grsu.bso.persistence.impl.OrderItemDAO;
import by.grsu.bso.persistence.impl.ProductDAO;
import by.grsu.bso.persistence.impl.ShoppingCartItemDAO;
import by.grsu.bso.persistence.impl.UserDAO;

public class ServiceManager {

	public static UserDAO getUserService() {
		return new UserDAO();
	}

	public static OrderDAO getOrderService() {
		return new OrderDAO();
	}
	
	public static OrderItemDAO getOrderItemService() {
		return new OrderItemDAO();
	}
	
	public static CategoryDAO getCategoryService() {
		return new CategoryDAO();
	}
	
	public static ProductDAO getProductService() {
		return new ProductDAO();
	}
	
	public static ShoppingCartItemDAO getShoppingCartItemService() {
		return new ShoppingCartItemDAO();
	}	

	private ServiceManager() {
	}

}
